package com.loan.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.loan.entity.Customer;
import com.loan.entity.User;

import java.util.List;

public interface CustomerService extends IService<Customer> {
    public void addCustomer(Customer customer);

   List<Customer> listByCondition(Customer customer);

    public void del(Customer customer);

    public void update(Customer customer);

    PageInfo<Customer> findByCondition(int pageNum,Customer customer);

    PageInfo<User> listNoEmp(int pageNum);

    PageInfo<Customer> listAll(int pageNum,int empId);

}
